# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-i9003
pkgver=1
pkgrel=27
pkgdesc="Samsung Galaxy SL"
url="https://postmarketos.org"
arch="armv7"
license="MIT"
depends="postmarketos-base linux-samsung-i9003 libsamsung-ipc mkbootimg mesa-dri-swrast"
makedepends="devicepkg-dev"
source="deviceinfo
	90-android-touch-dev.rules
	"
options="!check !archcheck"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
	install -D -m644 "$srcdir"/90-android-touch-dev.rules \
		"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
}
sha512sums="341287fd8b458c1f010aaf3ab4d2482504b7fc2237129b42fd7cd7859968dda4809883cf0bfbcb4f5f7d45cea7728b5258eccf244142c527bd2fa0b151b7fe41  deviceinfo
079336f0a62fe45e839dcaa56479736fb67125ef5adf9bf73fc513c696d5a9fe14cfc9912f4aeb989476aa23bcd1befca25f0163c827691eea7eec1c7b97f303  90-android-touch-dev.rules"
